<?php
	require_once $ubi['SERVER']['SERVER_ROOT'] . '/dao/daoRating.php';
		
	class RatingBus {
		private $_ratingDao;
				
		public function __construct() {
			$this->_ratingDao = new RatingDao();			
		}
	
		public function getRating($userID, $indicteeID, $interactType) {
			return $this->_ratingDao->getRating($userID, $indicteeID, $interactType);
		}
		
		public function addRating($rating) {
			return $this->_ratingDao->addRating($rating);
		}
	} 
?>